/****************************************************************************
 *			SRLOS Team All Right Reserved									*
 *																			*
 *breaf: this file describe the mapping for I/O port						*
 *autor: bloceanc															*
 *e-mail: bloceanc@gmail.com												*
 *																			*
 *																			*
 ****************************************************************************/
#ifndef _IO_MAPPING_
#define	_IO_MAPPING_

#define	IO_BASE	0x48000000		/* I/O physical start address in S3C2440 */
#define	MMU_VIRTUAL_ADDR_IOMAPPING	0x20000000	/* I/O virtual start address in SRLOS */
#define	IO_PIO2VIO(__IO__)	(__IO__-IO_BASE + MMU_VIRTUAL_ADDR_IOMAPPING)

#endif /* _IO_MAPPING_ */

